package com.mwy.job;

import java.text.SimpleDateFormat;
import java.util.Date;

//目标任务类
public class MyJob {
    //目标任务方法
    public void run(){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println("你好，旧时光"+sdf.format(new Date()));
    }
}


